/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * TitleAction.java
 *
 * Created on 2010-10-31, 2:05:32
 */

package com.weed.components;

/**
 *
 * @author Jason
 */
public class AppInfoAction extends javax.swing.JPanel {

    /** Creates new form TitleAction */
    public AppInfoAction() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        defaultDataSrc1 = new com.weed.client.bind.DefaultDataSrc();
        testDataSource1 = new com.weed.client.bind.TestDataSource();
        defaultDataSet1 = new com.weed.client.bind.DefaultDataSet();
        rTextField1 = new com.weed.client.component.RTextField();
        rLabel1 = new com.weed.client.component.ext.RLabel();
        rLabel2 = new com.weed.client.component.ext.RLabel();
        rTextField2 = new com.weed.client.component.RTextField();
        rLabel3 = new com.weed.client.component.ext.RLabel();
        jScrollPane1 = new javax.swing.JScrollPane();
        rTextArea1 = new com.weed.client.component.RTextArea();

        rTextField1.setBundColumn("TITLE");
        rTextField1.setCursor(new java.awt.Cursor(java.awt.Cursor.TEXT_CURSOR));
        rTextField1.setDataSet(defaultDataSet1);
        rTextField1.setFont(new java.awt.Font("微软雅黑", 0, 13)); // NOI18N
        rTextField1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                rTextField1ActionPerformed(evt);
            }
        });

        rLabel1.setText("标题：");

        rLabel2.setText("版本：");

        rTextField2.setBundColumn("VER");
        rTextField2.setDataSet(defaultDataSet1);
        rTextField2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                rTextField2ActionPerformed(evt);
            }
        });

        rLabel3.setText("备注：");

        rTextArea1.setColumns(20);
        rTextArea1.setRows(5);
        rTextArea1.setBundColumn("NOTE");
        rTextArea1.setDataSet(defaultDataSet1);
        jScrollPane1.setViewportView(rTextArea1);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(26, 26, 26)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(rLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 340, Short.MAX_VALUE))
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(rLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(rTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, 112, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(rLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(rTextField1, javax.swing.GroupLayout.DEFAULT_SIZE, 340, Short.MAX_VALUE)))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(rTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(rLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(rLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(rTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(rLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 221, Short.MAX_VALUE))
                .addContainerGap())
        );
    }// </editor-fold>//GEN-END:initComponents

    private void rTextField1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rTextField1ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_rTextField1ActionPerformed

    private void rTextField2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rTextField2ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_rTextField2ActionPerformed


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private com.weed.client.bind.DefaultDataSet defaultDataSet1;
    private com.weed.client.bind.DefaultDataSrc defaultDataSrc1;
    private javax.swing.JScrollPane jScrollPane1;
    private com.weed.client.component.ext.RLabel rLabel1;
    private com.weed.client.component.ext.RLabel rLabel2;
    private com.weed.client.component.ext.RLabel rLabel3;
    private com.weed.client.component.RTextArea rTextArea1;
    private com.weed.client.component.RTextField rTextField1;
    private com.weed.client.component.RTextField rTextField2;
    private com.weed.client.bind.TestDataSource testDataSource1;
    // End of variables declaration//GEN-END:variables

}
